﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Model
{
    /// <summary>
    /// 食谱表
    /// </summary>
    /// 
    [Table("Recipe")]
    public class Recipe
    {

        [Key]
         public int RecipeId { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
          public string RecipeName { get; set; }

        /// <summary>
        /// 食谱标题
        /// </summary>
        public string RecipeType { get; set; }

        /// <summary>
        /// 分类id
        /// </summary>
        public int ClassificationId { get; set; }

        /// <summary>
        /// 标签
        /// </summary>
        public string Label { get; set; }

        /// <summary>
        /// 分享
        /// </summary>
         public int Share {  get; set; }

        /// <summary>
        /// 图片
        /// </summary>
         public string RecipeImg { get; set; }


        /// <summary>
        /// 发布时间
        /// </summary>
        public DateTime RecipeDate { get; set; }



        /// <summary>
        /// 状态
        /// </summary>
         public  bool IsDeleted { get; set; }


         
         
    }
}
